package com.ssm.entity;

import java.util.Date;

public class Desk {
    private Integer dId;

    private Integer sId;

    private Integer tId;

    private Date dDate;

    private Long dPrice;

    private Teacher teacher;

    private Student student;

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Date getdDate() {
        return dDate;
    }

    public void setdDate(Date dDate) {
        this.dDate = dDate;
    }

    public Long getdPrice() {
        return dPrice;
    }

    public void setdPrice(Long dPrice) {
        this.dPrice = dPrice;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "Desk{" +
                "dId=" + dId +
                ", sId=" + sId +
                ", tId=" + tId +
                ", dDate=" + dDate +
                ", dPrice=" + dPrice +
                ", teacher=" + teacher +
                ", student=" + student +
                '}';
    }
}